package com.example.demo.pojo.mapper;

import com.example.demo.pojo.Message;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MessageMapper {

 //    发送留言接口
    int sendMessage(Message message);

 //    查询留言接口
    List<Message> seclectMessage();
}
